package com.wn.annotation.service;

import com.wn.annotation.dao.StudentDao;
import com.wn.annotation.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentDao studentDao;

    @Override
    public void save() {
        studentDao.save();
        System.out.println("StudentServiceImpl.save");
    }

    @Override
    public void deleteById(Integer id) {
        System.out.println("StudentServiceImpl.deleteById");
    }
}
